package net.mycrub.bitwise.core.util;

public class DeserializationException extends Exception {
    private static final long serialVersionUID = 1L;

    public DeserializationException(Class<?> clz, Throwable cause) {
        super("Deserialization error (" + clz.getCanonicalName() + ")", cause);
    }

    public DeserializationException(Class<?> clz) {
        this(clz, null);
    }
}
